package com.pactera.madp.cp.api.model.workcontact;

import com.pactera.madp.cp.api.model.RequestPage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @description: 获取客户列表的条件
 * @author: zhaojinjian
 * @create: 2020-11-26 14:26
 **/

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "获取客户列表的条件")
public class GetContactRequest {
    @ApiModelProperty(value = "关键词（可选）（客户姓名、昵称）")
    private String keyWords;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "用户画像属性id（可选）")
    private Integer fieldId;
    @ApiModelProperty(value = "属性类型（有用户画像属性id时必填）")
    private String fieldType;
    @ApiModelProperty(value = "用户画像筛选值值（有用户画像属性id时必填）")
    private String fieldValue;
    @ApiModelProperty(value = "客户性别（可选）（0-未知 1-男性 2-女性 3-全部）")
    private Integer gender;

    @ApiModelProperty(value = "客户来源（可选）")
    private String addWay;

    @ApiModelProperty(value = "群聊id（可选）（逗号分隔的字符串 如1,2,3）")
    private String roomId;

    @ApiModelProperty(value = "客户持群数（可选）（0-无群 1-一个 2-多个 3-全部）")
    private String groupNum;

    @ApiModelProperty(value = "部门成员id（可选）（逗号分隔的字符串 如1,2,3）")
    private String employeeId;

    @ApiModelProperty(value = "开始时间（可选）（如：2020-09-21）")
    private String startTime;

    @ApiModelProperty(value = "结束时间（可选）（如：2020-09-21）")
    private String endTime;

    @ApiModelProperty(value = "客户编码（可选）")
    private String businessNo;

}
